
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); 

@-moz-document url("chrome://browser/content/browser.xul")
{

window:not([tabsontop-bar-collapsed="true"])  .tabbrowser-strip /* using tabbrowser tab doesn't work well here */ 
{
position:fixed;
top:-3px; /* -4 for smaller tabs */
left:0px;
width:100%!important;
/* height:12px!important; */
z-index:0;
}
window:not([tabsontop-bar-collapsed="true"]):not([hidechrome="true"])  .tabbrowser-strip 
{
margin-top: 1px;
}
/* [hc-MaxFull="true"] comes from "Hide Caption *"-type addons */
window[hidechrome="true"]:not([tabsontop-bar-collapsed="true"]):not([hc-MaxFull="true"]) .tabbrowser-strip
{
top: 2px; /* for hc-resizer-box of "Hide Caption *" */
left:2px;
}

window:not([tabsontop-bar-collapsed="true"])  tab
{
-moz-user-select:-moz-none!important;
z-index:0!important;
}
window:not([tabsontop-bar-collapsed="true"])  .tabbrowser-tabs:not([flowing="multibar"])   tab   /* multibar -> ie. TabMixPlus */
{
-moz-border-radius-topleft:  6px!important;
-moz-border-radius-topright: 6px!important;
}

window:not([tabsontop-bar-collapsed="true"])  .tabbrowser-tabs
{
width:100%!important;
z-index:2;
/* height:27px!important; */
}
window:not([tabsontop-bar-collapsed="true"])  .tabbrowser-tabs:not([flowing="multibar"]) 
{
height:27px!important;
}

window:not([tabsontop-bar-collapsed="true"])  .tab-drop-indicator-bar   /* Here I need more info for adjusting for [flowing=multibar] */
{
position:fixed!important; /* what for multirow? */
top:1px; /* this is the arrow that appears when dragging tabs  */
left:0px;
width:100%!important;
/* height:10px!important; */
height:78px!important;
z-index:1;
}

window[nav_platform="Win32"]:not([tabsontop-bar-collapsed="true"])  .tabs-bottom {
/* width:5000px!important; ? */
border-bottom: 0px  transparent; /*1px solid -moz-dialog;*/
}
window[persona]:not([tabsontop-bar-collapsed="true"])               .tabs-bottom {
-moz-appearance: none;
border-top:    0px  transparent;
border-bottom: 0px  transparent;
background:         transparent;
}
/*
height: 4px;
margin: 0px; 
padding: 0px;
*/

#tabsontop-place-bar
{
height:23px!important;
}
window[hidechrome=true]:not([hc-MaxFull="true"]) #tabsontop-place-bar
{
height:26px!important;
}

}

